package com.ez.supervise.model.sys;

import com.ez.supervise.model.base.BaseEntity;

public class UserRole extends BaseEntity {
    private static final long serialVersionUID = -7144600364318777966L;
    private Long userId; // 用户id
    private Long roleId;// 角色id

    /**
     * @param userId2
     * @param roleId2
     */
    public UserRole(Long userId, Long roleId) {
	super();
	this.userId = userId;
	this.roleId = roleId;
    }

    public UserRole() {
	super();
    }

    public Long getUserId() {
	return userId;
    }

    public void setUserId(Long userId) {
	this.userId = userId;
    }

    public Long getRoleId() {
	return roleId;
    }

    public void setRoleId(Long roleId) {
	this.roleId = roleId;
    }

}
